package com.it.park.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.it.park.client.service.MomentsCommentService;
import com.it.park.dao.MomentsCommentMapper;
import com.it.park.model.MomentsComment;

@Service("momentsCommentService")
public class MomentsCommentServiceImpl extends BaseServiceImpl<MomentsComment> implements MomentsCommentService{
	@Autowired
	private  MomentsCommentMapper  momentsCommentMapper;
	
	@Override
	public boolean deleteByPrimaryKey(Integer id) {
		return false;
	}

	@Override
	public boolean insert(MomentsComment record) {
		return momentsCommentMapper.insert(record)==1;
	}

	@Override
	public boolean insertSelective(MomentsComment record) {
		return momentsCommentMapper.insertSelective(record)==1;
	}

	@Override
	public MomentsComment selectByPrimaryKey(Integer id) {
		return null;
	}

	@Override
	public boolean updateByPrimaryKeySelective(MomentsComment record) {
		return false;
	}

	@Override
	public boolean updateByPrimaryKeyWithBLOBs(MomentsComment record) {
		return false;
	}

	@Override
	public boolean updateByPrimaryKey(MomentsComment record) {
		return false;
	}

	@Override
	public List<MomentsComment> selectAll() {
		return momentsCommentMapper.selectAll();
	}

	@Override
	public List<MomentsComment> selectPagination(Map<String, Object> map) {
		return momentsCommentMapper.selectPagination(map);
	}

	@Override
	public Integer selectTotal(Map<String, Object> map) {
		return momentsCommentMapper.selectTotal(map);
	}

	@Override
	public MomentsComment selectIsExists(MomentsComment momentsComment) {
		return momentsCommentMapper.selectIsExists( momentsComment);
	}

	@Override
	public List<MomentsComment> selectPagination(MomentsComment t) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Integer selectTotal(MomentsComment t) {
		// TODO Auto-generated method stub
		return null;
	}


}
